<%-- 
    Document   : upload
    Created on : 2015-4-24, 21:00:50
    Author     : cjh(358319110@qq.com)
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="front/css/home-page.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/borrowInformation.css"/>
        <link rel="stylesheet" type="text/css" href="front/css/jquery.mCustomScrollbar.css"/>
        <script src="front/js/jquery-1.11.2.js"></script>
        <script src="front/js/jquery.mCustomScrollbar.concat.min.js"></script>
        <script src="front/js/home-page.js"></script>
        <script src="front/js/uploadfile.js"></script>
        <title>借阅信息</title>
    </head>
    <body class="all-page borrowInformation">
        <jsp:include page="head.jsp"></jsp:include>
            <div class="borrowPanel">
                <p class="title">上传信息</p>
                <div class="scrollContent">
                    <table>	
                        <thead>
                            <tr><th>项目名</th><th>选择文件</th><th>确认</th></tr>
                        </thead>
                    <c:forEach items="${projectList}" var="project" varStatus="s">
                        <tr>
                        <form action="upload" enctype="multipart/form-data" method="post">
                            <td>${project.name}</td>
                            <td><input type="file" name="multipartFile"></td>
                            <td>
                                <input type="hidden" name="proID" value="${project.id}">
                                <!--需要加一个列表来选择相应的项目-->
                                <input type="submit" value="提交">
                            </td>
                        </form>
                        </tr>
                    </c:forEach>
                </table>				
            </div>
        </div>
        <div class="mask"></div>
    </body>
</html>
<%--
        <form action="upload" enctype="multipart/form-data" method="post">
            上传文件：<input type="file" name="multipartFile"><br/>
            <input type="hidden" name="proID" value="1">
            <!--需要加一个列表来选择相应的项目-->
            <input type="submit" value="提交">
        </form>
--%>
